package com.techwells.learningkites.model;

import android.util.Log;

import com.techwells.learningkites.base.KitesViewModel;
import com.techwells.learningkites.networkservice.KitesServiceMediator;
import com.techwells.learningkites.networkservice.model.ReturnCode;
import com.techwells.learningkites.networkservice.model.User;
import com.techwells.taco.networkservice.ServiceResponse;
import com.techwells.taco.tasktool.TaskToken;
import com.techwells.taco.utils.LogUtil;

public class LoginViewModel extends KitesViewModel {

	public int returnCode;
	
	@Override
	public void paddingResult(TaskToken token) {
		// TODO Auto-generated method stub
		super.paddingResult(token);
		String method = token.method;
		
		if (method.equals(KitesServiceMediator.SERVICE_DO_LOGIN)) {
			returnCode = (int) response.getReturnCode();
			
		}
	}
	
	
	

}
